home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / LFolderWatcher (PP) / LFolderWatcher.sit / LFolderWatcher / LFolderWatcher.h < prev    next >
Text File  |  1995-08-24  |  2KB  |  49 lines

  1. // ===========================================================================
  2. //    LFolderWatcher.h                ⌐ 1995, âric Forget. All rights reserved.
  3. // ===========================================================================
  4. //    
  5. //    ************************************************************************
  6. //    *                                                                      *
  7. //    *    Before using this code you should read the "License Agreement"     *
  8. //    *    document and agree with it.                                        *
  9. //    *                                                                      *
  10. //    ************************************************************************
  11. //
  12. //    Instruction and usage notes are in the LFolderWatcher.cp file.
  13. //
  14. // ---------------------------------------------------------------------------
  15.  
  16.  
  17. #pragma once
  18.  
  19.  
  20. #include    <LSortedList.h>
  21.  
  22.  
  23. // ---------------------------------------------------------------------------
  24. //        Ñ Class LFolderWatcher
  25. // ---------------------------------------------------------------------------
  26.  
  27. class LFolderWatcher : public LSortedList {
  28.  
  29. public:
  30.                             LFolderWatcher(
  31.                                     Int32    inDirID,
  32.                                     Int16    inVRefNum,
  33.                                     OSType    inFileType = fileType_Default,
  34.                                     OSType    inFileCreator = fileType_Default);
  35.     virtual                    ~LFolderWatcher();
  36.     
  37.     virtual Boolean            Update();
  38.     
  39. protected:
  40.     Int32                    mDirID;
  41.     Int16                    mVRefNum;
  42.     OSType                    mFileType;
  43.     OSType                    mFileCreator;
  44.     Int32                    mLastModificationDate;
  45.     
  46.     virtual void            Reset();
  47.     
  48. };
  49.